<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>其他</title>
		<cw:base></cw:base>
		<script type="text/javascript">
			
		</script>
	</head>
	<body>
		<ul>
			<li>
				<table>
					<tr height="50">
						<td>
							一级按钮：
						</td>
						<td></td>
						<td>
							<cw:button id="button_1_1" text="保存(S)" onclick="alert('保存');" iconCls="buttonStyle_1_1"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_1_2" text="重置(R)" onclick="alert('重置');" iconCls="buttonStyle_1_2"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_1_3" text="关闭" onclick="alert('关闭');" iconCls="buttonStyle_1_2"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_1_4" text="禁用" onclick="alert('禁用');" iconCls="buttonStyle_1_3"></cw:button>
						</td>
					</tr>
					<tr height="50">
						<td>
							二级按钮：
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_1" text="查询(F)" onclick="alert('查询(F)');" iconCls="buttonStyle_2_1"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_2" text="重置(R)" onclick="alert('重置(R)');" iconCls="buttonStyle_2_2"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_3" text="审核" onclick="alert('审核');" iconCls="buttonStyle_2_3" ></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_4" text="删除" onclick="alert('删除(D)');" iconCls="buttonStyle_2_3" ></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_5" text="导入" onclick="alert('导入');" iconCls="x-btn-text-icon buttonStyle_2_4"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_6" text="导出" onclick="alert('导出');" iconCls="x-btn-text-icon buttonStyle_2_5"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_7" text="打印" onclick="alert('打印');" iconCls="x-btn-text-icon buttonStyle_2_6"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_2_8" text="禁用" onclick="alert('禁用');" iconCls="buttonStyle_2_7"></cw:button>
						</td>
					</tr>
					<tr height="50">
						<td>
							三级按钮：
						</td>
						<td></td>
						<td>
							<cw:button id="button_3_1" text="确定" onclick="alert('确定');" iconCls="buttonStyle_3_1"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_3_2" text="清空" onclick="alert('清空');" iconCls="buttonStyle_3_2"></cw:button>
						</td>
						<td></td>
						<td>
							<cw:button id="button_3_3" text="禁用" onclick="alert('禁用');" iconCls="buttonStyle_3_3"></cw:button>
						</td>
					</tr>
				</table>
			</li>
		</ul>
		<cw:theme></cw:theme>
		<script type="text/javascript">
			Ext.onReady(function(){
				resetHeight("buttonFrame");
			})
			
			function resetHeight(frame) {
				var ifm = parent.document.getElementById(frame);
				var obj = document.body;
				var oStyle = obj.currentStyle? obj.currentStyle : window.getComputedStyle(obj, false);
				var initHeight = parseInt(document.body.clientHeight+parseInt(oStyle["margin-top"])+parseInt(oStyle["margin-bottom"]));
				ifm.height = parseInt(initHeight);
			}
		</script>
	</body>
</html>
